package com.telit.firecommand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * Create by Chencf 2022/09/06
 */
@Data
public class FireAlarmsVO implements Serializable {

    @ApiModelProperty(value = "火情ID")
    private String id;


    @ApiModelProperty(value = "监控ID")
    private String cameraId;


    @ApiModelProperty(value = "监控点位名称")
    private String cameraName;


    @ApiModelProperty(value = "事件名称")
    private String eventName;


    @ApiModelProperty(value = "事件类型")
    private String eventType;


    @ApiModelProperty(value = "图片连接")
    private String picUrls;


    @ApiModelProperty(value = "经度")
    private String longitude;


    @ApiModelProperty(value = "纬度")
    private String latitude;


    @ApiModelProperty(value = "行政区划")
    private String areaCode;


    @ApiModelProperty(value = "火情位置")
    private String placeName;


    @ApiModelProperty(value = "告警时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date startTime;


    @ApiModelProperty(value = "录像地址")
    private String videoUrls;


    @ApiModelProperty(value = "告警信息")
    private String alarmsInfo;


    @ApiModelProperty(value = "接警人")
    private String alarmsUser;


    @ApiModelProperty(value = "是否演练 1是0否")
    private Short isExercise;


    @ApiModelProperty(value = "火情状态 1 未处置 2处置中 3已处置")
    private Short status;


    @ApiModelProperty(value = "是否有效  1是  0 否")
    private Short isDelete;

    //火情来源
    @ApiModelProperty(value = "火情来源 字典表 alarms_source_type")
    private Integer sourceType;

    private static final long serialVersionUID = 1L;

}
